package org.jeecg.modules.baseinfo.product.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 水果产品基本信息
 * @Author: jeecg-boot
 * @Date:   2025-03-07
 * @Version: V1.0
 */
@Data
@TableName("fr_product")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="fr_product对象", description="水果产品基本信息")
public class FrProduct implements Serializable {
    private static final long serialVersionUID = 1L;

	/**产品ID*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "产品ID")
    private java.lang.String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private java.lang.String createBy;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private java.util.Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private java.lang.String updateBy;
	/**更新时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "更新时间")
    private java.util.Date updateTime;
	/**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
	/**水果名称*/
	@Excel(name = "水果名称", width = 15)
    @ApiModelProperty(value = "水果名称")
    private java.lang.String name;
	/**类别( 1: 热带水果 2:浆果类 3:柑橘类)*/
	@Excel(name = "类别( 1: 热带水果 2:浆果类 3:柑橘类)", width = 15)
    @ApiModelProperty(value = "类别( 1: 热带水果 2:浆果类 3:柑橘类)")
    private java.lang.Integer fruitCategory;
	/**规格(1:箱装  2:盒装 3:散装 )*/
	@Excel(name = "规格(1:箱装  2:盒装 3:散装 )", width = 15)
    @ApiModelProperty(value = "规格(1:箱装  2:盒装 3:散装 )")
    private java.lang.Integer spec;
	/**计量单位(1:箱 2:公斤 3:礼盒 4: 斤)*/
	@Excel(name = "计量单位(1:箱 2:公斤 3:礼盒 4: 斤)", width = 15)
    @ApiModelProperty(value = "计量单位(1:箱 2:公斤 3:礼盒 4: 斤)")
    private java.lang.Integer unit;
	/**进货单价*/
	@Excel(name = "进货单价", width = 15)
    @ApiModelProperty(value = "进货单价")
    private java.math.BigDecimal purchasePrice;
	/**销售单价*/
	@Excel(name = "销售单价", width = 15)
    @ApiModelProperty(value = "销售单价")
    private java.math.BigDecimal salePrice;
	/**存储方式（1:冷藏 2:常温）*/
	@Excel(name = "存储方式（1:冷藏 2:常温）", width = 15)
    @ApiModelProperty(value = "存储方式（1:冷藏 2:常温）")
    private java.lang.Integer type;
	/**保质期(天)*/
	@Excel(name = "保质期(天)", width = 15)
    @ApiModelProperty(value = "保质期(天)")
    private java.lang.Integer shelfLife;
	/**存储温度要求*/
	@Excel(name = "存储温度要求", width = 15)
    @ApiModelProperty(value = "存储温度要求")
    private java.lang.String storageTemp;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private java.lang.String remarks;
}
